using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PlayerState : State
{
    protected Vector3 InitialScale;
    protected InputManager input;
    protected Animator animator;
    protected Rigidbody2D playerBody;
    protected PlayerControl player;

    public override void Init()
    {
        base.Init();

        input = InputManager.Instance;
        player = GameMgr.Get<IPlayerManager>().Player;
        playerBody = player.GetComponent<Rigidbody2D>();
        animator = player.transform.Find("Animate").GetComponent<Animator>();
    }

    public override void InputHandler()
    {
        base.InputHandler();
    }

    public override void Action()
    {
        base.Action();

        if (manager.GetCurrentState() == this)
        {
            
        }
    }
}
